package com.atguigu.spzx.order.enums;

/**
 * ClassName: OrderType
 * Package: com.atguigu.spzx.order.enums
 * Description:
 *
 * @Author 刘强
 * @Create 2024/7/18 12:37
 * @Version 1.0
 */
public enum OrderType {
    WAIT_PAY(0), // 待付款
    WAIT_SEND(1), //待发货
    HAVE_SEND(2), //已发货
    SUCCESS(3), //已完成
    CANCEL(-1);  //已取消
    private Integer value;

    OrderType(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }
}
